package net.wsfcp.android.http.mvp.contract;

/**
 * Created by Shaoboyang on 2018/12/14.
 * 契约类,定义登录用到的一些接口方法
 */

public class ChangePasswordContract {

    public interface ChangePasswordView {

        String getOldPwd();

        String getNewPwd();

        String getRepeatNewPwd();

        void changePasswordSuccess();

        void changePasswordFail(String failMsg);

    }


    public interface ChangePasswordPresenter {
        void changePassword(String oldpwd, String newpwd);

    }
}
